home *** CD-ROM | disk | FTP | other *** search
- Path: homer.alpha.net!usenet
- From: ldreher@execpc.com (Larry Dreher)
- Newsgroups: comp.lang.rexx,comp.os.os2.programmer.misc
- Subject: Rexx Access to OS/2 EA's
- Date: 16 Jan 1996 22:01:50 GMT
- Organization: Alpha.net -- Milwaukee, WI
- Distribution: inet
- Message-ID: <4dh78e$lgq@homer.alpha.net>
- NNTP-Posting-Host: mgic7.mgic.com
- X-Newsreader: NeoLogic News for OS/2 [version: 4.2]
-
- I'm trying to write a simple rexx program that will display a list of files
- along with assorted OS/2 EA's. The SysGetEA
- function seems to be what I need more doc to get it to work.
-
- This is the example from the rexx reference:
-
- Examples:
-
- /* Code */
- if SysGetEA("C:\CONFIG.SYS", ".type", "TYPEINFO") = 0 then do
- parse var typeinfo 11 type
- say type
- end
- /* Output */
- OS/2 Command File
-
- I know that the 11 skips 10 characters before type and I learned by
- trial and error that I can use ".subject" with a value of 5 on the parse
- statement but is this actually documented somewhere?
-
- What about accessing comments, history, or any unique EA's I might want to
- create?
-
- Any help is appreciated.
-
- larry_dreher@mgic.com
-
-
-
-
-
-